<ion-view >

<header  class="user-defined-header user-header-style2 bar" >
		<a class="button button-clear icon ion-ios-arrow-left" href="#/tab/account" ></a>
			<h1 class="title">订单详情</h1>
		<button class="button button-clear" ng-click="showCancelDialog()">取消订单</button>
</header>

<ion-content class="has-header bk-gray" ng-init="initOrderDetail()">

  <div class="user-defined-list3 margin-top-10">
		  <a class="item item-icon-right icon-size-md">
		    	<span class="font-color-lightBlack">订单编号</span>
		    	<span class="item-note font-color-lightBlack">OD12345678910</span>
		  </a>

		  <a class="item item-icon-right icon-size-md" ng-click="showProductGiveBackDialog()">
		    	<span class="font-color-lightBlack">卖家已发货</span>
		    	<span class="item-note font-color-lightBlack">点击查看物流状态</span>
		    	<i class="icon ion-ios-arrow-right font-color-lightBlack"></i>
		  </a>
	</div>

  <div class="list order-user-panel margin-top-10">
    <a class="item item-icon-right" ng-click="goToChooseAddress()">
      <div class="order-userInfo">
        <div class="padding-TB-5 font-color-lightBlack order-userInfo-contact">
          <i class="ion-ios-person-outline"></i><span>余hi吊毛</span>
          <i class="ion-iphone"></i><span>余hi的掉吊手机</span>
        </div>
        <div class="font-color-gray font-size-normal">配送地址：余hi的吊毛住处</div>
      </div>
    </a>
  </div>

  <div class="margin-top-10 order-products-panel">
		<div class="order-products-item" ng-repeat="product in orderInfo.products">
			<div class="order-item-shop font-color-lightBlack">
				<img src="{{product.shop_logo}}"/>
				<span class="padding-LR-5">{{product.shop_name}}</span>
			</div>
			<div class="order-item-product font-color-lightBlack margin-top-10">
				<img src="img/slide-img10.jpg"/>
				<div class="order-product-info">
					<div class="font-color-lightBlack">{{product.name}}</div>
					<div class="order-product-time">发货时间：卖家承诺20小时内发货</div>
					<div class="order-product-price">
						<span class="font-color-xg">¥{{product.sale_price}}</span>
						<span class="font-color-lightBlack float-right">x{{product.count}}</span>
					</div>
				</div>
			</div>
		</div>
	</div>

	<div class="user-defined-list3 margin-top-10">

		  <a class="item item-icon-right icon-size-md" ng-show="isNotFromCart" ng-repeat="product in orderInfo.products">
		    	<span class="font-color-lightBlack">购买数量</span>
		    	<count-input ng-model="product.count" class="float-right"></count-input>
		  </a>

		  <a class="item item-icon-right icon-size-md">
		    	<span class="font-color-lightBlack">配送方式</span>
		    	<span class="item-note font-color-lightBlack">快递 免费</span>
		    	<i class="icon ion-ios-arrow-right font-color-lightBlack"></i>
		  </a>

		  <a class="item item-icon-right icon-size-md">
		    	<span class="font-color-lightBlack">运费险</span>
		    	<span class="item-note font-color-lightBlack">卖家已为您的运费投保，最高赔付100元</span>
		    	<i class="icon ion-ios-arrow-right font-color-lightBlack"></i>
		  </a>

		  <a class="item item-icon-right item-icon-left icon-size-md">
		  		<div>
		    		<span class="font-color-lightBlack font-size-lg">买家留言</span>
		    	</div>
          <p class="font-color-lightBlack">
              老余你哥吊毛
          </p>
		  </a>
	</div>

	<div class="bk-white order-conut-panel">
		<span class="font-color-lightBlack font-size-lg float-right">共{{orderInfo.products.length}}件商品          合计：<span class="font-color-xg font-size-lg">¥{{orderInfo.count_price}}</span></span>
	</div>

</ion-content >

<div class="user-defined-footer">
	<div class="order-submit-count float-left font-color-lightBlack">
		合计：<span class="font-color-xg font-size-lg">¥{{orderInfo.count_price}}</span>
	</div>
</div>

</ion-view>
